//ConcreteProduct.java
package simpleFactory.noAbstractProduct;

/**
 *@author:youtubezou
 *@version:2012-7-6
 */
public class ConcreteProduct{
	private String name = "ConcreteProduct";
	
	public ConcreteProduct () {
		this("ConcreteProduct");
	}
	public ConcreteProduct (String name) {
		this.name += ">>" + name;
	}
	
	public String toString () {
		return name;
	}
}